package xyz.lwm.lazycat.aop;

/**
 * @author lwm
 */
@FunctionalInterface
public interface InvocationHandler {

    /**
     * 拦截方法, 如果未操作, 也会自动执行原始对象方法, 避免拦截不当会使原始方法失效
     *
     * @param invocation invocation
     * @throws Throwable throwable
     */
    void handle(Invocation invocation) throws Throwable;

}
